<title>Medidas</title>
	  <?
include 'conexion.php';
	  extract($_POST);
      extract($_GET);
      
      if ($valor=="" or $sugun==""){?>
      }
      }
	  
	  <script language="JavaScript" type="text/JavaScript">
alert('!FALTAN DATOS VERIFICA!')
window.self.location="islr_med.php?<? echo 'valor='.$valor.'&sugun='.$sugun;?>"

</script>
	  
	   <? }	 else {
       
       $cod=0;

//	 $base="ucg - copia";
	$tabla="islr_med";
//	$conexion=mysql_connect("localhost","root","");
//	mysql_select_db($base,$conexion);  
	mysql_query("INSERT $tabla VALUES($cod,'$sugun',$valor)",$conexion); ?>

 <script language="JavaScript" type="text/JavaScript">
alert('Medida ISLR Guardada!')
window.self.location="islr_med.php"
</script>
<? } ?>
	</body>
</html>
